#ifndef LOGIN_H
#define LOGIN_H

#include "dragwidgetfilter.h"
#include "register.h"
#include "forgetpassword.h"
#include "chatwindow.h"

#include <QMainWindow>
#include <qglobal.h>
#include <QDebug>

QT_BEGIN_NAMESPACE
namespace Ui { class Login; }
QT_END_NAMESPACE

class Login : public QMainWindow
{
    Q_OBJECT

public:
    Login(QWidget *parent = nullptr);
    ~Login();

private slots:
    void on_radioButton_clicked(bool checked);

    void on_login_pushButton_clicked();

    void on_close_toolButton_clicked();

    void on_register_pushButton_clicked();

    void on_forget_password_pushButton_clicked();

private:
    Ui::Login *ui;
    QString username;
    QString password;
    Register *registerWindow;
    ForgetPassword *forgetPasswordWindow;
    ChatWindow *chatWindow;

};
#endif // LOGIN_H
